﻿<slg50:PropertyGridDialog x:Class="HSS.Xaml.UI.Controls.PropertyGridError"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:slg50="clr-namespace:HSS.Xaml.UI.Controls"
	Title="Properties Window">
	<Grid x:Name="LayoutRoot" Height="190" Width="325">
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto"/>
				<ColumnDefinition/>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto" />
				<RowDefinition />
			</Grid.RowDefinitions>
			<Image Grid.Column="0" Grid.Row="0" x:Name="warningImage" Source="/SLG50;component/assets/warning.png" Height="32" Width="32" Margin="20,10,5,10" />
			<TextBlock Grid.Column="1" Grid.Row="0" x:Name="txbHeader" Margin="10" Foreground="#FF3C688D" VerticalAlignment="Center" FontSize="14" FontFamily="Portable User Interface" Text="Property value is not valid."/>
			<TextBox Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1" x:Name="txbMessage" IsReadOnly="True" IsTabStop="False" VerticalScrollBarVisibility="Auto" Margin="10,5,10,10" BorderThickness="1" BorderBrush="Gray" TextWrapping="Wrap"/>
		</Grid>
		<Border Grid.Column="0" Grid.Row="1" BorderBrush="Silver" BorderThickness="0,1,0,0" Background="WhiteSmoke" Height="40" >
			<Button x:Name="OKButton" Content="Close" Click="OKButton_Click" Width="68" Height="22" Padding="1" HorizontalAlignment="Right" Margin="0,0,10,0" />
		</Border>
	</Grid>
</slg50:PropertyGridDialog>